using FairyGUI;
using FairyGUI.Utils;
using UnityEngine;
using System.IO;
using System.Collections.Generic;


namespace UIPack
{
    public partial class ComAnimCrack : GComponent
    {
        private static ComAnimCrack ins;
        public static ComAnimCrack Instance
        {
            get
            {
                if (ins == null)
                {
                    ins = CreateInstance();
                    ins.Init();
                }

                return ins;
            }
        }

        private void Init() {
            Anim.SetHook("shake", () => {
                //Main.StartShake();
                //GameHelper.PlaySE(Main.Self.AudioSourceEffect, "Sound/crackHit");

            });
        }
    }
}